package graphqls

import (
	"gitee.com/lailonghui/vehicle-supervision-framework/pkg/apms"
	"gitee.com/lailonghui/vehicle-supervision-framework/pkg/graphqls/middle"
	"github.com/99designs/gqlgen/graphql/handler"
)

func CommonMiddle(srv *handler.Server) {
	srv.AroundResponses(middle.LoggerMiddle)
	srv.Use(apms.GqlgenTracer{})

}
